package com.sunnada.edu.system.sysLog.service;

import java.util.HashMap;
import java.util.List;

import javax.annotation.Resource;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sunnada.edu.system.sysLog.dao.SysLogDao;

@Service
@Transactional
public class SysLogServiceImpl implements SysLogService{
	private static final Logger logger = LoggerFactory.getLogger(SysLogServiceImpl.class);
	@Resource
	SysLogDao syslogDao;
	@Override
	public int getSyslogCots(HashMap<String, String> params) {
		return syslogDao.getSyslogCots(params);
	}
	@Override
	public List<?> findSyslogs(HashMap<String, String> params) {
		return syslogDao.findSyslogs(params);
	}	
}

